<!DOCTYPE html>
<!-- saved from url=(0040)http://c.tsz90.com/home/task/redbag_hall -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<meta name="keywords" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>红包大厅</title>
<link rel="stylesheet" href="__PUBLIC__/static/css/redbag_hall/hongbao.css">
</head>
<body style="background: #f6f6f6">
<header class="redbag_header">
	<a href="javascript:history.back()" class="left"><img src="__PUBLIC__/static/upload/redbag_hall/icon_back.png" alt=""></a>
	红包大厅
</header>
<div class="redbag_hall">
	<div class="container">
		
				<div class="items">
			<span class="header">
				<img src="__PUBLIC__/static/upload/redbag_hall/15be5911c10d12bbeefbe7b7b4ef15c4.png" alt="" >
			</span>
			<div class="right_infor">
				<p class="tel">183*****167</p>
				<div class="block" data-username="183*****167" data-img="/uploads/20190801/15be5911c10d12bbeefbe7b7b4ef15c4.png" data-id="569">
					<div class="top">
						<img src="__PUBLIC__/static/upload/redbag_hall/icon_angle02.png" alt="" class="icon">
						<div class="pic">
							<img src="__PUBLIC__/static/upload/redbag_hall/redbag.png" alt="">
						</div>
						<div class="text">
							<h3>444</h3>
							<p>查看红包</p>
						</div>
						<div class="clear"></div>
					</div>
					<p class="bottom_text">悬赏红包</p>
				</div>
			</div>
		</div>
		<input type="hidden" name="name" id="name" value="183*****167">
				<div class="items">
			<span class="header">
				<img src="__PUBLIC__/static/upload/redbag_hall/15be5911c10d12bbeefbe7b7b4ef15c4.png" alt="" onerror="this.src=&#39;/static/home/mobile/picture/user.png&#39;">
			</span>
			<div class="right_infor">
				<p class="tel">183*****167</p>
				<div class="block" data-username="183*****167" data-img="/uploads/20190801/15be5911c10d12bbeefbe7b7b4ef15c4.png" data-id="566">
					<div class="top">
						<img src="__PUBLIC__/static/upload/redbag_hall/icon_angle02.png" alt="" class="icon">
						<div class="pic">
							<img src="__PUBLIC__/static/upload/redbag_hall/redbag.png" alt="">
						</div>
						<div class="text">
							<h3>下载支付宝</h3>
							<p>查看红包</p>
						</div>
						<div class="clear"></div>
					</div>
					<p class="bottom_text">悬赏红包</p>
				</div>
			</div>
		</div>
		<input type="hidden" name="name" id="name" value="183*****167">
				<div class="items">
			<span class="header">
				<img src="__PUBLIC__/static/upload/redbag_hall/user.png" alt="" onerror="this.src=&#39;/static/home/mobile/picture/user.png&#39;">
			</span>
			<div class="right_infor">
				<p class="tel">188*****888</p>
				<div class="block" data-username="188*****888" data-img="/uploads/" data-id="562">
					<div class="top">
						<img src="__PUBLIC__/static/upload/redbag_hall/icon_angle02.png" alt="" class="icon">
						<div class="pic">
							<img src="__PUBLIC__/static/upload/redbag_hall/redbag.png" alt="">
						</div>
						<div class="text">
							<h3>222222222222</h3>
							<p>查看红包</p>
						</div>
						<div class="clear"></div>
					</div>
					<p class="bottom_text">悬赏红包</p>
				</div>
			</div>
		</div>
		<input type="hidden" name="name" id="name" value="188*****888">
				<div class="items">
			<span class="header">
				<img src="__PUBLIC__/static/upload/redbag_hall/user.png" alt="" onerror="this.src=&#39;/static/home/mobile/picture/user.png&#39;">
			</span>
			<div class="right_infor">
				<p class="tel">177*****777</p>
				<div class="block" data-username="177*****777" data-img="/uploads/" data-id="561">
					<div class="top">
						<img src="__PUBLIC__/static/upload/redbag_hall/icon_angle02.png" alt="" class="icon">
						<div class="pic">
							<img src="__PUBLIC__/static/upload/redbag_hall/redbag.png" alt="">
						</div>
						<div class="text">
							<h3>444444444</h3>
							<p>查看红包</p>
						</div>
						<div class="clear"></div>
					</div>
					<p class="bottom_text">悬赏红包</p>
				</div>
			</div>
		</div>
		<input type="hidden" name="name" id="name" value="177*****777">
				<div class="items">
			<span class="header">
				<img src="__PUBLIC__/static/upload/redbag_hall/15be5911c10d12bbeefbe7b7b4ef15c4.png" alt="" onerror="this.src=&#39;/static/home/mobile/picture/user.png&#39;">
			</span>
			<div class="right_infor">
				<p class="tel">152*****936</p>
				<div class="block" data-username="152*****936" data-img="/uploads/20190801/15be5911c10d12bbeefbe7b7b4ef15c4.png" data-id="560">
					<div class="top">
						<img src="__PUBLIC__/static/upload/redbag_hall/icon_angle02.png" alt="" class="icon">
						<div class="pic">
							<img src="__PUBLIC__/static/upload/redbag_hall/redbag.png" alt="">
						</div>
						<div class="text">
							<h3>很多哈哈动画和</h3>
							<p>查看红包</p>
						</div>
						<div class="clear"></div>
					</div>
					<p class="bottom_text">悬赏红包</p>
				</div>
			</div>
		</div>
		<input type="hidden" name="name" id="name" value="152*****936">
				<div class="items">
			<span class="header">
				<img src="__PUBLIC__/static/upload/redbag_hall/15be5911c10d12bbeefbe7b7b4ef15c4.png" alt="" onerror="this.src=&#39;/static/home/mobile/picture/user.png&#39;">
			</span>
			<div class="right_infor">
				<p class="tel">152*****936</p>
				<div class="block" data-username="152*****936" data-img="/uploads/20190801/15be5911c10d12bbeefbe7b7b4ef15c4.png" data-id="559">
					<div class="top">
						<img src="__PUBLIC__/static/upload/redbag_hall/icon_angle02.png" alt="" class="icon">
						<div class="pic">
							<img src="__PUBLIC__/static/upload/redbag_hall/redbag.png" alt="">
						</div>
						<div class="text">
							<h3>测试注册</h3>
							<p>查看红包</p>
						</div>
						<div class="clear"></div>
					</div>
					<p class="bottom_text">悬赏红包</p>
				</div>
			</div>
		</div>
		<input type="hidden" name="name" id="name" value="152*****936">
				

	</div>
</div>
<!-- 弹出红包 -->
<div class="shadow"></div>
<div class="open_block"><img src="__PUBLIC__/static/upload/redbag_hall/bigbag.png" alt="">
	<div class="close">
		<img src="__PUBLIC__/static/upload/redbag_hall/red_close.png" alt="">
	</div>
	<span class="header">
		<img src="__PUBLIC__/static/upload/redbag_hall/head.jpg" alt="">
	</span>
	<p class="username">150***1256</p>
	<p class="name">给你发了一个红包</p>
	<button>完成悬赏红包</button>
	<img src="__PUBLIC__/static/upload/redbag_hall/icon_open.png" alt="" class="open_pic">
	<a href="http://c.tsz90.com/home/task/redbag_detail.html" class="jump">查看领取详情 &gt;</a>
</div>

<script src="__PUBLIC__/static/js/redbag_hall/jquery.min.js"></script>
<script>
$(document).ready(function(){
	$.ajax({
		url:"redbag/select",
		dataType:'json',
		success:function(data){
			var tel=$(".tel").html();
			alert(tel);
			// var tel=data.tel;
			// $(data).each(function(k,v){

			// })
		}
	})
})
	$(function(){
		var id = '';
			$(".right_infor .block").click(function(){
				var username = $(this).attr('data-username');
				var img = $(this).attr('data-img');
				id = $(this).attr('data-id');
				console.log(username)
				console.log(img)
				var pic = '<img src="'+img+'" alt="" onerror="this.src=\'/static/home/mobile/picture/user.png\'">';
				$(".open_block").find('.username').html(username);
				$(".open_block").find('.header').html(pic);
				
				$(".shadow").show();
				$(".open_block").show()
			})
			$(".open_block .close").click(function(){
				$(".shadow").hide();
				$(".open_block").hide()
			})

			$(".open_pic").click(function(){
				location.href='/home/task/detail/id/'+id;
			})
	
	})
</script>
		
 </body></html>